<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true" isELIgnored="false"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="UTF-8" />
    <style>
       #initFormApp{
            padding: 10px 10px;
        }


    </style>
</head>

<body>
<div id="initFormApp">
    <i-form  :label-width="90"  inline>
        <i-form  :label-width="90" :model="role" ref="rules" :rules="rules" :rules="rules">
            <form-item prop="roleName" label="角色名称：">
                <i-input v-model="role.roleName" placeholder="请输入角色名称..."></i-input>
            </form-item>
            <form-item>
                <div class="grid-content bg-purple">
                    <ul id="treeBox" class="ztree"></ul>
                </div>
            </form-item>
        </i-form>
        <form-item>
            <i-button type="primary" @click="onSubmitValidate('rules')" icon="paper-airplane">
                <span v-if="!loading">提交</span>
                <span v-else>提交中...</span>
            </i-button>
        </form-item>

    </i-form>
</div>
</body>
</html>